package com.baidumap.administrator.happystudy.ui;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.view.Window;

import com.baidumap.administrator.happystudy.fragment.Fragment3;
import com.baidumap.administrator.happystudy.R;

/**
 * Created by C on 2017/3/28.
 */
public class ShoppingCarActivity extends FragmentActivity{

    private Fragment3 mFragment3;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.activity_shopping_car);
        FragmentManager manager = getSupportFragmentManager();
        FragmentTransaction transaction = manager.beginTransaction();
        if (mFragment3 == null) {
            mFragment3 = new Fragment3();
        }
        transaction.add(R.id.frame, mFragment3);
        transaction.commit();
    }
}
